package com.youlu.campus.admin.tencentcloud.service;

import com.youlu.campus.admin.tencentcloud.entity.TencentCloudConfig;

import java.util.List;

/**
 * 腾讯云 配置信息
 *
 * @Description: TencentCloudConfigService
 * @Date 2025/8/20
 * @module TencentCloudConfigService
 * @author: su
 */
public interface TencentCloudConfigService {

    /**
     * 保存
     *
     * @param config
     */
    void save(TencentCloudConfig config);

    /**
     * 通过type 获取
     *
     * @param type
     * @return
     */
    List<TencentCloudConfig> findByType(String type);

    /**
     * 通过id 获取
     *
     * @param configId
     * @return
     */
    TencentCloudConfig findById(String configId);
}
